/*
 * @Author: Ryan Huang
 * @Description:
 * @Date: 2019-04-26 22:31:29
 */
package routers

import (
	"my/beego/controllers"

	"github.com/astaxie/beego"
)

func init() {
	beego.AutoRouter(&controllers.UserController{})
	beego.Router("/", &controllers.MainController{})
	//beego.Router("/user/:id(\\d+)", &controllers.UserController{}, "get:GetInfo")
	beego.AutoRouter(&controllers.ArticleController{})
}
